<?php
namespace App\Helpers;

class CustomerValidator
{
    public function checkMobile($phone){
        $check = '/^(1(([35789][0-9])|(47)))\d{8}$/';
        if (preg_match($check, $phone)) {
            return true;
        } else {
            return false;
        }
    }
}
